<?php

namespace App\Http\Utils\Currency;

use Payment\Notify\PayNotifyInterface;

/**
 * Class ThirdPay
 * @package App\Http\Utils\Currency
 */
abstract class ThirdPay
{
    /**
     * @var Order
     */
    protected $order;

    /**
     * ThirdPay constructor.
     * @param Order $order
     */
    public function __construct(Order $order = null)
    {
        $this->order = $order;
    }

    abstract public function pay();

    abstract public function notify(PayNotifyInterface $notify);
}